//
//  BN_SchoolNoticeCell.h
//  BabyNow
//
//  Created by 刘泽琛 on 14-6-17.
//  Copyright (c) 2014年 iMobile. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BN_UserInfo.h"
#import "BN_UserHelper.h"

@interface BN_SchoolNoticeCell : UITableViewCell <UIAlertViewDelegate,UIActionSheetDelegate>

/**
 *  班级或全校图片View
 */
@property (weak, nonatomic) IBOutlet UIImageView *classSchoolImageView;

#pragma mark XIB

/**
 *  时间小时钟
 */
@property (weak, nonatomic) IBOutlet UIImageView *createTimeImageView;

/**
 *  创建时间
 */
@property (weak, nonatomic) IBOutlet UILabel *createTimeLabel;


@property (weak, nonatomic) IBOutlet UILabel *lineLabel;

/**
 *  标题内容
 */
@property (weak, nonatomic) IBOutlet UILabel *titleTextLabel;

/**
 *  通知内容
 */
@property (weak, nonatomic) IBOutlet UILabel *contentTextLabel;
/**
 *  图片展示
 */
@property (weak, nonatomic) IBOutlet UIImageView *disPlayImageView;

/**
 *  评论、喜欢、分享View
 */
@property (weak, nonatomic) IBOutlet UIView *discLikeFenxiangView;

/**
 *  评论按钮、喜欢按钮、分享按钮、回复View
 */
@property (weak, nonatomic) IBOutlet UIButton *pinglunBtn;
@property (weak, nonatomic) IBOutlet UIButton *xihuanBtn;
@property (weak, nonatomic) IBOutlet UIButton *fenxiangBtn;
@property (weak, nonatomic) IBOutlet UIView *replView;
@property (weak, nonatomic) IBOutlet UIView *dividerView;


#pragma mark 属性
/**
 *  cell高度
 */
@property (nonatomic) CGFloat cellHeight;

/**
 *  单个评论的高度
 */
@property (nonatomic) CGFloat singleRelpHeight;

/**
 *  评论视图高度
 */
@property (nonatomic) CGFloat relpHeight;

/**
 *  回复个数
 */
@property (nonatomic) NSInteger replTime;

/**
 *  回复数组
 */
@property (nonatomic, strong) NSArray *replArr;

/**
 *  用户类型
 */
@property (nonatomic) NSInteger userType;

/**
 *  收藏标记
 */
@property (nonatomic) NSInteger favoFlg;

/**
 *  通知ID
 */
@property (nonatomic, copy) NSString *notiId;

@property (nonatomic, strong) NSURL *imageUrl;

@property (nonatomic, copy) NSString *praiTime;

@property (nonatomic) int praiFlg;

#pragma mark
#pragma mark Method

- (void)contentTextToGroupView:(NSArray *)array;

- (void)dealLikeBtnColorState;

@end
